//package org.sunflower.ice.infrastructure.strategy;
//
//import com.aliyun.ice20201109.Client;
//import com.aliyun.ice20201109.models.SubmitMediaProducingJobResponse;
//import org.sunflower.ice.infrastructure.MediaProducingJobTypeEnum;
//
//import java.util.function.Supplier;
//
///**
// * @description:
// * @author: TanJingyu
// * @create: 2021-10-11 13:40
// **/
//public abstract class MediaProducingJobStrategy {
//    protected final Client client;
//
//    public MediaProducingJobStrategy(Client client) {
//        this.client = client;
//    }
//
//    public abstract <T> SubmitMediaProducingJobResponse submit(Supplier<T> params);
//
//    public abstract MediaProducingJobTypeEnum submitType();
//
//    public Boolean support(MediaProducingJobTypeEnum mediaProducingJobTypeEnum) {
//        return mediaProducingJobTypeEnum.equals(submitType());
//    }
//}
